package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统配置对象 t_setting
 * 
 * @author ruoyi
 * @date 2022-03-17
 */
public class TSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long sid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long mainCurrency;

    /** 营业税率 */
    @Excel(name = "营业税率")
    private Long taxRate;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date modifytime;

    /** 汇率到账天数 */
    @Excel(name = "汇率到账天数")
    private Long exchangeDay;

    private Long ofCompany;

    public Long getOfCompany() {
        return ofCompany;
    }

    public void setOfCompany(Long ofCompany) {
        this.ofCompany = ofCompany;
    }


    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setMainCurrency(Long mainCurrency) 
    {
        this.mainCurrency = mainCurrency;
    }

    public Long getMainCurrency() 
    {
        return mainCurrency;
    }
    public void setTaxRate(Long taxRate) 
    {
        this.taxRate = taxRate;
    }

    public Long getTaxRate() 
    {
        return taxRate;
    }
    public void setModifytime(Date modifytime) 
    {
        this.modifytime = modifytime;
    }

    public Date getModifytime() 
    {
        return modifytime;
    }
    public void setExchangeDay(Long exchangeDay) 
    {
        this.exchangeDay = exchangeDay;
    }

    public Long getExchangeDay() 
    {
        return exchangeDay;
    }
    private String createtime;

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("mainCurrency", getMainCurrency())
            .append("taxRate", getTaxRate())
            .append("modifytime", getModifytime())
            .append("exchangeDay", getExchangeDay())
            .toString();
    }
}
